﻿using MediatR;
using ProduceBasicData.Api.DTO.InvoiceAndReceiptDto;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.InvoiceAndReceiptManage
{
    /// <summary>
    /// 获取到票信息命令
    /// </summary>
    public class GetReceiptCommand : IRequest<ApiPaging<ReceiptDto>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int Index { get; set; }

        /// <summary>
        /// 页容量
        /// </summary>
        public int Size { get; set; }

        /// <summary>
        /// 关键字
        /// </summary>
        public string? Keyword { get; set; } 
    }
}
